package com.weijianhuawen.wjblog.admin.service;

import com.weijianhuawen.wjblog.admin.mode.vo.article.*;
import com.weijianhuawen.wjblog.common.utils.Response;

import javax.annotation.Resource;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-10-24 16:46
 */
public interface AdminArticleService {
    //发布文章
    Response publishArticle(PublishArticleReqVo vo);
    //删除文章
    Response deleteArticle(DeleteArticleReqVo vo);
    // 分页查询文章
    Response findArticlePageList(FindArticlePageListReqVo vo);
    // 查询文章详细信息
    Response findArticleDetail(FindArticleDetailReqVo vo);
    // 修改文章信息
    Response updateArticle(UpdateArticleReqVo vo);
    // 自动保存
    Response autoSaveArticle(AutoSaveArticleReqVo vo);
    // 设置/取消文章置顶
    Response setArticleTop(UpdateArticleIsTopReqVo vo);
}
